package com.lmj.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName DeptConsumer_80
 * @Date 2021/9/14 16:52
 * @Author 李明杰
 * @Description
 */
//Ribbon 和 Eureka 整合以后，客户端可以直接调用，不用关心IP地址和端口号
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.lmj.springcloud"})//扫码哪些包
public class FeignDeptConsumer_801 {
    public static void main(String[] args) {
        SpringApplication.run(FeignDeptConsumer_801.class, args);

    }
}
